package work1212;

public class WirterTwo {
	
	private String name;
	private Character sex;
	private Integer age;
	private Double salary;
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Character getSex() {
		return sex;
	}
	public void setSex(Character sex) {
		this.sex = sex;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Double getSalary() {
		return salary;
	}
	public void setSalary(Double salary) {
		this.salary = salary;
	}
	
	@Override
	public String toString() {
		return "WirterTwo [name=" + name + ", sex=" + sex + ", age=" + age + ", salary=" + salary + "]";
	}	
	
}
